package com.itheima.service.impl;

import com.itheima.entity.TbUser;
import com.itheima.service.ConsumerService;
import org.springframework.stereotype.Component;

@Component
public class ConsumerServiceImpl implements ConsumerService {
    @Override
    public TbUser findUserById(Integer id) {
        TbUser tbUser = new TbUser();
        tbUser.setId(id);
        tbUser.setNote("默认熔断方法");
        return tbUser;
    }
}
